const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  token: state => state.user.token,
  avatar: state => state.user.avatar,
  name: state => state.user.name,
  // 角色
  roles: state => state.user.roles,
  //动态路由
  permission_routes: state => state.permission.routes,
  visitedViews: state => state.tagsView.visitedViews,
  cachedViews: state => state.tagsView.cachedViews,
  // 添加菜单
  init:state => state.menu.init,
  menuList:state => state.menu.menuList,
  btnList:state => state.menu.btnList


}
export default getters
